.loader {
  width: 100%;
  height: 50px;
  float: left;
  display: -webkit-flex; /*safari弹性布局*/
  justify-content: center;
  display: flex;
  align-items: center;
  //   background-color: red;
}

@keyframes loader1 {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  45% {
    transform: scale(0.1);
    opacity: 0.7;
  }
  80% {
    transform: scale(1);
    opacity: 1;
  }
}
.loader1 div {
  width: 15px;
  height: 15px;
  background: #ccc;
  border-radius: 50%;
  // float: left;
  display: inline-block;
  margin: 2px;
}
.loader1 div:nth-child(1) {
  animation: loader1 0.75s -0.12s ease infinite;
}
.loader1 div:nth-child(2) {
  animation: loader1 0.75s -0.24s ease infinite;
}
.loader1 div:nth-child(3) {
  animation: loader1 0.75s 0s ease infinite;
}
